import Vue from 'vue'
import { Button, Tabbar, TabbarItem, Icon, Form, Field, NavBar, Swipe, SwipeItem, Lazyload, Toast, Grid, GridItem, Search, Dialog, IndexBar, IndexAnchor, Cell, CellGroup, DropdownMenu, DropdownItem, List, Sticky, Popup, Switch, Area, Picker } from 'vant'
Vue.use(Button)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Icon)
Vue.use(Form)
Vue.use(Field)
Vue.use(NavBar)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Lazyload, {
  lazyComponent: true
})
Vue.use(Toast)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Search)
Vue.use(Dialog)
Vue.use(IndexBar)
Vue.use(IndexAnchor)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(List)
Vue.use(Sticky)
Vue.use(Popup)
Vue.use(Switch)
Vue.use(Area)
Vue.use(Picker)
